package assignment2;
//Author Mark Mckillion, Date Completed 09/12/2011

public interface QueueADT <T>
{   /*This is an abstract interface which includes the methods that all queues
    *should be able to implement.
    *I will create a CircularArrayQueue class that will implement this interface
    *The instance T allows the stack to be used for any type of Objects.*/
    
    public void enqueue(T element); //This will add "element" to the queue.
    public T dequeue(); //This will remove the first element in the queue.
    public T first(); //This will return the first element in the queue.
    public boolean isEmpty(); //This will return true if the queue is empty.
    public int size(); //This will return the queue size.
    public String toString(int elem); //This will convert the Object at "int elem" into a string.
}